package ooday01;

public class Car {
    String brand;
    String color;
    double price;
    Car(){

    }
    Car(String brand,String color,double price){
        this.brand = brand;
        this.color = color;
        this.price = price;

    }

    void start(){
        System.out.println(brand+"品牌的"+color+"颜色的，价值"+price+"的车启动了");
    }
    void stop(){
        System.out.println(brand+"品牌的"+color+"颜色的，价值"+price+"的车停止了");
    }
}
